<h1><?php echo $title; ?></h1>
<div class="noprint">
<?php if (isset($notice) || $notice = $this->session->flashdata('notification')):?>
<p class="notice"><?php echo $notice;?></p>
<?php endif;?>



</div>   
<table class="list" border="0" cellpadding="1" cellspacing="1">
  <tr class="titlemedium"> 
	<th width="3">#</th>
	<th height="85%" nowrap class="celeste bold"><?php echo anchor('adozioni/anagrafica/sostenitori/order_by/nomecognome',  __("Cognome e Nome", $module)) ?> </th>
	<th>CAP</th>
	<th width="" align="center" colspan="3"><?php echo __("Azioni", $module) ?></th>
  </tr>
  <?php if($rows): ?> 
  <?php $i=1;foreach($rows as $row): ?>
    <?php if ($i % 2 != 0): $rowClass = 'odd'; else: $rowClass = 'even'; endif;?>
    <tr class="<?php echo $rowClass?>">
	<td><?php echo $i; ?></td>
	<td nowrap ><?php echo anchor('adozioni/anagrafica/sostenitori/show/' . $row['id'], $row['nomecognome']) ?></td>
	<td><?php echo $row['cap'] ?></td>
	<td><?php echo anchor('adozioni/anagrafica/sostenitori/show/' . $row['id'], __("Visualizza", $module)) ?></td>
	<td><?php echo anchor('adozioni/anagrafica/sostenitori/edit/' . $row['id'], __("Modifica", $module)) ?></td>
	<td><?php echo anchor('adozioni/anagrafica/sostenitori/activate/no/' . $row['id'], __("Elimina", $module), array('onClick' => "return confirm('". __("Confermi Eliminazione ?", $module) . "')")) ?></td>
  </tr>
  <?php $i++;endforeach; ?>
  <?php endif;?>
</table>
